package com.tedu.demo2;

import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

@Repository//Dao层
@Controller//控制层
@Service//业务逻辑层
public class User {
    public void sayHello(){
        System.out.println("hello world");
    }
}
